/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ai;

/**
 *
 * @author Honghai
 */
public class NotValidStatusException extends Exception {
//TODO thêm một số thứ để cho cái exception này rõ ràng hơn
    /**
     * Creates a new instance of <code>NotValidStatusException</code> without detail message.
     */
    public NotValidStatusException() {
        super("Not valid status: you cannot set this status");
    }


    /**
     * Constructs an instance of <code>NotValidStatusException</code> with the specified detail message.
     * @param msg the detail message.
     */
    public NotValidStatusException(String msg) {
        super(msg);
    }
}
